package com.mbc.common.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import com.mbc.common.entities.ApplicationItem;

public interface ApplicationItemDAO {
	public void create(ApplicationItem entity)throws SQLException;
	public void update(ApplicationItem entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public ApplicationItem find(long key)throws SQLException;
	public ArrayList<ApplicationItem> findAll()throws SQLException;
	public ArrayList<ApplicationItem> findByUserId(long userId) throws SQLException;
}
